package com.sbr.seb.rule.comparative;

import com.sbr.seb.rule.Specification;
import com.sbr.seb.rule.exception.SpecificationException;

public class EqualsSpecification<T> implements Specification<T> {

	private T specification;
	
	@Override
	public boolean isSatisfiedBy(T candidate) throws SpecificationException {
		return specification.equals(candidate);
	}
	
}
